package com.hyd.util;

import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
 * 验证手机号是否正确的工具
 * 
 * @author llf
 * 
 */
public class isMobileUtil {
	public static boolean isMobileNumber(String phoneNumber) {
		Pattern pattern = Pattern.compile("^((13[0-9])|(15[^4,\\D])|(18[0,2,5-9]))\\d{8}$");
		Matcher matcher = pattern.matcher(phoneNumber);
		return matcher.matches();
	}
}
